package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 客服表
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("customer_service")
public class CustomerService extends Model<CustomerService> implements Serializable {


    /**
     * 客服ID
     */
    @TableId(value = "customer_service_id", type = IdType.AUTO)
    private Integer customerServiceId;

    /**
     * 客服编号
     */
    @TableField("customer_service_num")
    private String customerServiceNum;

    /**
     * 客服密码
     */
    @TableField("customer_service_pwd")
    private String customerServicePwd;

    /**
     * 客服角色
     */
    @TableField("customer_service_role_id")
    private Integer customerServiceRoleId;

    public Integer getCustomerServiceId() {
        return customerServiceId;
    }

    public CustomerService setCustomerServiceId(Integer customerServiceId) {
        this.customerServiceId = customerServiceId;
        return this;
    }

    public String getCustomerServiceNum() {
        return customerServiceNum;
    }

    public CustomerService setCustomerServiceNum(String customerServiceNum) {
        this.customerServiceNum = customerServiceNum;
        return this;
    }

    public String getCustomerServicePwd() {
        return customerServicePwd;
    }

    public CustomerService setCustomerServicePwd(String customerServicePwd) {
        this.customerServicePwd = customerServicePwd;
        return this;
    }

    public Integer getCustomerServiceRoleId() {
        return customerServiceRoleId;
    }

    public CustomerService setCustomerServiceRoleId(Integer customerServiceRoleId) {
        this.customerServiceRoleId = customerServiceRoleId;
        return this;
    }

    @Override
    public String toString() {
        return "CustomerService{" +
                "customerServiceId=" + customerServiceId +
                ", customerServiceNum=" + customerServiceNum +
                ", customerServicePwd=" + customerServicePwd +
                ", customerServiceRoleId=" + customerServiceRoleId +
                "}";
    }
}
